package com.vhall.component.entity.common;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 缓存页数据
 *
 * @author yuanzh
 * @date 2021/9/17
 */
@Data
public class CachePage<T> implements Serializable {

    private static final long serialVersionUID = -7418142387845509256L;

    /**
     * 总条数
     */
    private long total;

    /**
     * 当前页
     */
    private int current;

    /**
     * 条数
     */
    private int pageSize;

    /**
     * 数据
     */
    private List<T> list;

}
